/**   
* @Title: User.java
* @Package org.xaoyaoyao.cloud.test.entity
* @Description: TODO
* @author xaoyaoyao
* @date Feb 13, 2019 8:57:04 AM
* @version V1.0   
*/
package org.xaoyaoyao.cloud.test.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;
import lombok.ToString;

/**
 * @ClassName: User
 * @Description: TODO
 * @author xaoyaoyao
 * @date Feb 13, 2019 8:57:04 AM
 * 
 */
@Data
@ToString
@Entity
@Table(name = "t_user")
public class User implements Serializable {

	private static final long serialVersionUID = -4909224069625180060L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id")
	private Integer id;

	@Column(name = "name")
	private String name;

	@Column(name = "age")
	private Integer age;

	@Column(name = "create_time")
	private Date createTime;

	@Column(name = "update_time")
	private Date updateTime;

}
